package hu.dynamicwebshop.gui;

import com.vaadin.ui.Alignment;
import com.vaadin.ui.VerticalLayout;

/**
 *
 * @author Szecskó Zoltán <zoltan.szecsko@gmail.com>
 */
public class AlignmentCenterLayer extends VerticalLayout {

    private static final long serialVersionUID = 1L;

    public AlignmentCenterLayer(MainLayer mainLayer) {
        setStyleName("backgroundLayer");

        this.addComponent(mainLayer);
        this.setComponentAlignment(mainLayer, Alignment.TOP_CENTER);
    }
}
